package com.company.gjtx.recommender.bean;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;

import com.company.gjtx.login.bean.TbUser;

/**
 * TbRecGoods entity.
 * 
 * @author MyEclipse Persistence Tools
 */

public class TbRecGoods implements java.io.Serializable {

	// Fields

	private Long goodsid;
	private TbUser tbUser;
	private TbRecSort tbRecSort;
	private TbBusstore tbBusstore;
	private String title;
	private String bussid;
	private String image;
	private String link;
	private String area;
	private String busname;
	private Date rectime;
	private Integer overdate;
	private Integer dingnum;
	private Integer cainum;
	private Long audit;
	private Date audittime;
	private String goodsnote;
	private Integer auditstatus;
	private Set tbRecComments = new HashSet(0);

	// Constructors

	/** default constructor */
	public TbRecGoods() {
	}

	/** minimal constructor */
	public TbRecGoods(Long goodsid) {
		this.goodsid = goodsid;
	}

	/** full constructor */
	public TbRecGoods(Long goodsid, TbUser tbUser, TbRecSort tbRecSort,
			TbBusstore tbBusstore, String title, String bussid, String image,
			String link, String area, String busname, Date rectime,
			Integer overdate, Integer dingnum, Integer cainum, Long audit,
			Date audittime, String goodsnote, Integer auditstatus,
			Set tbRecComments) {
		this.goodsid = goodsid;
		this.tbUser = tbUser;
		this.tbRecSort = tbRecSort;
		this.tbBusstore = tbBusstore;
		this.title = title;
		this.bussid = bussid;
		this.image = image;
		this.link = link;
		this.area = area;
		this.busname = busname;
		this.rectime = rectime;
		this.overdate = overdate;
		this.dingnum = dingnum;
		this.cainum = cainum;
		this.audit = audit;
		this.audittime = audittime;
		this.goodsnote = goodsnote;
		this.auditstatus = auditstatus;
		this.tbRecComments = tbRecComments;
	}

	// Property accessors

	public Long getGoodsid() {
		return this.goodsid;
	}

	public void setGoodsid(Long goodsid) {
		this.goodsid = goodsid;
	}

	public TbUser getTbUser() {
		return this.tbUser;
	}

	public void setTbUser(TbUser tbUser) {
		this.tbUser = tbUser;
	}

	public TbRecSort getTbRecSort() {
		return this.tbRecSort;
	}

	public void setTbRecSort(TbRecSort tbRecSort) {
		this.tbRecSort = tbRecSort;
	}

	public TbBusstore getTbBusstore() {
		return this.tbBusstore;
	}

	public void setTbBusstore(TbBusstore tbBusstore) {
		this.tbBusstore = tbBusstore;
	}

	public String getTitle() {
		return this.title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getBussid() {
		return this.bussid;
	}

	public void setBussid(String bussid) {
		this.bussid = bussid;
	}

	public String getImage() {
		return this.image;
	}

	public void setImage(String image) {
		this.image = image;
	}

	public String getLink() {
		return this.link;
	}

	public void setLink(String link) {
		this.link = link;
	}

	public String getArea() {
		return this.area;
	}

	public void setArea(String area) {
		this.area = area;
	}

	public String getBusname() {
		return this.busname;
	}

	public void setBusname(String busname) {
		this.busname = busname;
	}

	public Date getRectime() {
		return this.rectime;
	}

	public void setRectime(Date rectime) {
		this.rectime = rectime;
	}

	public Integer getOverdate() {
		return this.overdate;
	}

	public void setOverdate(Integer overdate) {
		this.overdate = overdate;
	}

	public Integer getDingnum() {
		return this.dingnum;
	}

	public void setDingnum(Integer dingnum) {
		this.dingnum = dingnum;
	}

	public Integer getCainum() {
		return this.cainum;
	}

	public void setCainum(Integer cainum) {
		this.cainum = cainum;
	}

	public Long getAudit() {
		return this.audit;
	}

	public void setAudit(Long audit) {
		this.audit = audit;
	}

	public Date getAudittime() {
		return this.audittime;
	}

	public void setAudittime(Date audittime) {
		this.audittime = audittime;
	}

	public String getGoodsnote() {
		return this.goodsnote;
	}

	public void setGoodsnote(String goodsnote) {
		this.goodsnote = goodsnote;
	}

	public Integer getAuditstatus() {
		return this.auditstatus;
	}

	public void setAuditstatus(Integer auditstatus) {
		this.auditstatus = auditstatus;
	}

	public Set getTbRecComments() {
		return this.tbRecComments;
	}

	public void setTbRecComments(Set tbRecComments) {
		this.tbRecComments = tbRecComments;
	}

}